package StudyCode.summary.Basic;

import java.text.ChoiceFormat;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ChoiceFormatTest {
	public static void main(String[] argv) throws Exception {
		double d = 1.1;

		double d1 = ChoiceFormat.previousDouble(d); // 1.0999999999999999
		System.out.println(d1);

		double d2 = ChoiceFormat.nextDouble(d); // 1.1000000000000003
		System.out.println(d2);
	}
}
